﻿namespace BorgExt
{
    internal class ContractNotification : TypeStoreNotification
    {
        internal readonly NotifyContract NotifyContract;
        internal readonly Contract Contract;

        public ContractNotification(NotifyContract notifyContract, Contract contract)
        {
            NotifyContract = notifyContract;
            Contract = contract;
        }

        internal override void Notify()
        {
            NotifyContract(Contract);
        }
    }
}

